package com.company.huisuo.ext

import com.company.huisuo.utils.LogUtil


fun String?.logI(tag: String? = LogUtil.DEFAULT_TAG): String? {
    LogUtil.logI(tag, this)
    return this
}

fun String?.logD(tag: String? = LogUtil.DEFAULT_TAG): String? {
    LogUtil.logD(tag, this)
    return this
}

fun String?.logW(tag: String? = LogUtil.DEFAULT_TAG): String? {
    LogUtil.logW(tag, this)
    return this
}

fun String?.logE(tag: String? = LogUtil.DEFAULT_TAG): String? {
    LogUtil.logE(tag, this)
    return this
}

fun String?.logWTF(tag: String? = LogUtil.DEFAULT_TAG): String? {
    LogUtil.logWTF(tag, this)
    return this
}

fun String?.logJson(tag: String? = LogUtil.DEFAULT_TAG): String? {
    LogUtil.logJson(tag, this)
    return this
}